MailPoet\Form\Block\BlockRendererHelper A

Total Complexity 75
Dependencies 3
Dependents 11
Total lines 276
Lines of code 221
Logical lines of code 127
Comment lines 10
Methods 13
Properties 2

Methods 13

Method Rating Maintainability Complexity Lines of code
getInputValidation()
B
38 18 65
renderLabel()
A
45 11 41
renderLegend()
S
52 7 25
translateValidationErrorMessage()
S
56 7 18
renderFontStyle()
S
61 6 11
renderInputPlaceholder()
S
59 5 15
getInputModifiers()
S
63 5 10
getFieldName()
S
64 4 9
getFieldLabel()
S
71 3 5
getFieldValue()
S
71 3 5
getFieldIsRequired()
S
71 3 5
escapeShortCodes()
S
65 2 8
__construct()
S
77 1 4